/*
#include <iostream>
#include <string>
#include <fstream>
#include <vector>
#include <deque> // for mailbox
#include <ctime> //to get current time for message
#include <sstream> //to use itoa
#include <cstdlib> // atoi
#include <iomanip> // formating mail inbox
*/

#include "MailData.h"

#ifndef MAILCONTROL_H
#define	MAILCONTROL_H


class mailController{
public:
    mailController();
    ~mailController();
    vector<mailMsg> vmm;
    vector<mailMsg>::iterator pmm;

    vector<mailBox> vmb;
    vector<mailBox>::iterator pmb;

    deque<im>::iterator pim;

    void createMailbox (string);
    void deleteMailbox (string);

    void sendBrochure (string);
    void sendMail(int, string);
    void checkInbox (string);
};


#endif	/* MAILCONTROL_H */
